//
//  footView.m
//  代理端
//
//  Created by mac on 16/3/8.
//  Copyright © 2016年 sliver. All rights reserved.
//

#import "footView.h"
@interface footView()

@property (weak, nonatomic) IBOutlet UILabel *companyLable;
@property (weak, nonatomic) IBOutlet UILabel *numberLable;
@property (weak, nonatomic) IBOutlet UILabel *phoneNumberlable;
@property (weak, nonatomic) IBOutlet UILabel *timeLable;
@property (weak, nonatomic) IBOutlet UIView *linview;

@end
@implementation footView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(void)awakeFromNib
{
    
    [AutoLayoutUtil autoLayoutWith:self.linview.subviews];
    [AutoLayoutUtil autoLayoutWith:self.subviews];
}
-(void)gaveMeModel:(OrderDetailModel *)model
{
    
//    NSLog(@"%@----%@",model.service_tel,model.logistics_airway_bill);
    self.companyLable.text = [NSString stringWithFormat:@"物流公司:%@", model.logistics_company];
   
    self.numberLable.text = [NSString stringWithFormat:@"物流单号:%@", model.logistics_airway_bill];
    
    self.timeLable.text = [NSString stringWithFormat:@"下单时间:%@",model.timestamp];
    
//    self.phoneNumberlable.text = [NSString stringWithFormat:@"官方电话:%@",model.service_tel];
}

@end
